/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.javanile.chess.stone;

import org.javanile.chess.stone.*;
/**
 *
 * @author totalinnovation
 */
public class Hash {
    private List[]  hash;
    private int[]   point;
    private int	    level;

    public Hash(int deep){
	level	= -1;
	point	= new int[deep];
	hash	= new List[deep];
    }
    public int[] get(int n) {
	//System.out.println("get(" +d+" "+n+")");
	//h[d].dump();
	return hash[level].get(n);
    }
    public void set(List l) {
	//System.out.println("set("+d+")");
	//l.dump();
	hash[level] = l;
    }
    public int size() {
	return (level<0)?0:hash[level].size();
    }
}
